import type { RequestOption } from "../../index.js";
import { fields, Operation } from "./util.js";

export const loadAsset: RequestOption = {
    name: "0x00 02 加载资源",
    description: "从服务端加载给定的资源",
    fields: [
        fields.op(Operation.LoadAsset),
        fields.crc,
        fields.length,
        {
            name: "path",
            kind: "string",
            value: "p/project-1/1/0",
        },
    ],
};
